package com.blqy.fr.model.log;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.blqy.fr.model.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "天气记录")
@TableName("weather")
public class Weather extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "上午天气信息")
    @TableField("weather_am")
    private String weatherAm;

    @Schema(description = "上午温度信息")
    @TableField("temperature_am")
    private String temperatureAm;

    @Schema(description = "上午风向信息")
    @TableField("wind_direction_am")
    private String windDirectionAm;

    @Schema(description = "上午风力信息")
    @TableField("wind_power_am")
    private String windPowerAm;

    @Schema(description = "下午天气信息")
    @TableField("weather_pm")
    private String weatherPm;

    @Schema(description = "下午温度信息")
    @TableField("temperature_pm")
    private String temperaturePm;

    @Schema(description = "下午风向信息")
    @TableField("wind_direction_pm")
    private String windDirectionPm;

    @Schema(description = "下午风力信息")
    @TableField("wind_power_pm")
    private String windPowerPm;
}